/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commands;

import java.io.PrintStream;

/**
 *
 * eCOM - Adopte un Presta - Mars-Avril 2013
 * @author Kheira, Jef, William, Tuan-Long
 */
public class QuitCommand extends CommandAbstract {
    
    public QuitCommand() {
	}

    @Override
    public String getName() {
        return "quit";
    }

    @Override
    public String getUsage() {
        return "quit";
    }

    @Override
    public String getShortDescription() {
        return "Quitte le client Adopte Un Presta.";
    }

    @Override
    protected void execute(PrintStream out, PrintStream err) 
    {
        System.exit(0);
    }

}
